From 4c154c29f3052e76100b21c8beec786a4331684d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 2 Aug 2012 03:49:19 -0700 Subject: [PATCH] * lisp.h (VALMASK) [!USE_LSB_TAG]: Now a macro as well as a constant, since it's used in non-static inline functions now. --- src/ChangeLog | 1 + src/lisp.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 5eace10b0ad..be7f1c2a0c9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -30,6 +30,7 @@ (INLINE_HEADER_END): New macros. * lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant, since it's used in non-static inline functions now. + (VALMASK) [!USE_LSB_TAG]: Likewise. 2012-08-02 Glenn Morris diff --git a/src/lisp.h b/src/lisp.h index 1661ac1caa0..4b54af9fe43 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -423,7 +423,9 @@ enum lsb_bits #else /* not USE_LSB_TAG */ -static EMACS_INT const VALMASK = VAL_MAX; +static EMACS_INT const VALMASK +#define VALMASK VAL_MAX + = VALMASK; #define XTYPE(a) ((enum Lisp_Type) ((EMACS_UINT) XLI (a) >> VALBITS)) -- 2.30.2